package com.csc.finalproject.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.csc.finalproject.domain.User;

public interface UserService {
	@Transactional
	public boolean editUser();

	public List<User> getUsers();

	public int checkLogin(String username, String password,
			HttpServletRequest request);

	@Transactional
	public boolean addUser(String username, String psw);

	public User getUser(int id);
}
